package com.baosight.risk.api.xtzy;

import java.util.List;

import com.baosight.risk.base.service.BaseService;
import com.baosight.risk.service.xtzy.entity.XtzyRoleShift;

/**
 * 
 * @author zzw
 *
 */
public interface IXtzyRoleShiftService extends BaseService<XtzyRoleShift> {

    Integer run(String compCode,String newUserCode,String oldUserCode,List<String> roleCodes) throws Exception;

    List<XtzyRoleShift> listByRoleCode(String roleCode);
    
	int save(XtzyRoleShift shift);
	
	int deleteByIds(List<String> ids);
}
